﻿<%@ Page Title="" Language="C#" MasterPageFile="~/adminaq/Adminpage.Master" AutoEventWireup="true"
    CodeBehind="AQListChildMenu.aspx.cs" Inherits="ToolwebAQ.adminaq.AQListChildMenu" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="content-box">
        <div class="box-header clear">
            <h2>
                QUẢN LÝ DANH MỤC CON</h2>
        </div>
        <div class="box-body clear">
            <dx:ASPxGridView ID="gvListChildMenu" ClientInstanceName="gvListChildMenu" runat="server"
                KeyFieldName="idcatemenu" Width="100%">
                <Columns>
                    <dx:GridViewDataTextColumn Caption="STT" Width="20px" VisibleIndex="0">
                        <HeaderStyle HorizontalAlign="Center" />
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="Namemenu" Caption="TÊN DANH MỤC" VisibleIndex="1">
                        <HeaderStyle HorizontalAlign="Center" />
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataCheckColumn FieldName="isused" Caption="TÌNH TRẠNG" VisibleIndex="2">
                        <HeaderStyle HorizontalAlign="Center" />
                    </dx:GridViewDataCheckColumn>
                    <dx:GridViewCommandColumn Caption="CHỨC NĂNG" VisibleIndex="3">
                        <NewButton Visible="true" />
                        <EditButton Visible="true" />
                        <HeaderStyle HorizontalAlign="Center" />
                    </dx:GridViewCommandColumn>
                    <dx:GridViewCommandColumn ShowSelectCheckbox="true" VisibleIndex="4">
                        <HeaderTemplate>
                            <dx:ASPxCheckBox ID="SelectAllCheckBox" runat="server" ToolTip="Chọn tất cả" ClientSideEvents-CheckedChanged="function(s, e) { gvListChildMenu.SelectAllRowsOnPage(s.GetChecked()); }" />
                        </HeaderTemplate>
                        <HeaderStyle HorizontalAlign="Center" />
                    </dx:GridViewCommandColumn>
                </Columns>
                <SettingsPager PageSize="10" />
                <Settings ShowTitlePanel="true" />
                <SettingsEditing EditFormColumnCount="3" />
            </dx:ASPxGridView>
        </div>
    </div>
</asp:Content>
